package com.group.three.service;


import com.github.pagehelper.PageInfo;
import com.group.three.pojo.Videos;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public interface SelectListVideoService {
 PageInfo<Videos> selectListVideo(Long videoId, int page, int size);

 List<Videos> selectListVideo(Long videoId, Integer isEnable);

 PageInfo<Videos> selectListVideo(Long videoId, String videoName, int page, int size);

 PageInfo<Videos> selectVideoByStar(Integer star, int page, int size);

 PageInfo<Videos> selectVideoByYear(String onYear,
                                    String EndYear,
                                    int page, int size);

 PageInfo<Videos> selectVideoByPlay(Integer rank, int page, int size);

 PageInfo<Videos> selectVideoByCom(String number, int page, int size);

 Integer updatePlayNumber(Integer videoNum,Long videoId);

 PageInfo<Videos> selectselectVideoByTagId(Long tagid,int page,int size);
}